<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="javascript:;" class="sel">{$menutitle}<i></i></a>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20 mab20">
		<tr>
			<td align="right" width="200">上级分类：</td>
			<td>
				<select name="info[category_pid]" class="inputselect" style="width:270px">
				<option value="0">-- 无 --</option>
				<!--{foreach($category_treelist as $v):}-->
				<option value="{$v['category_id']}" <!--{if($v['category_id']==$info['category_pid']):}-->selected="selected"<!--{endif;}--> <!--{if(in_array($v['category_id'], (array)$category_noid)):}-->disabled="disabled"<!--{endif;}-->>{$v['category_showname']}</option>
				<!--{endforeach;}-->
				</select>
			</td>
		</tr>
		<tr>
			<td align="right">分类名称：</td>
			<td><input type="text" name="info[category_name]" value="{$info['category_name']}" class="inputall input250" /></td>
		</tr>
		<tr>
			<td align="right">分类图标：</td>
			<td id="album_box">
				<div class="upload_box fl" style="width:100px;height:100px">
					<img src="{pe_thumb($info['category_logo'])}" class="upload_img" />
					<input type="hidden" name="info[category_logo]" value="{$info['category_logo']}" class="upload_val">
				</div>
				<div class="c999 fl" style="margin:30px 0 0 10px">（尺寸：200 * 200）</div>
			</td>
		</tr>
		<tr>
			<td align="right">显示顺序：</td>
			<td><input type="text" name="info[category_order]" value="{$info['category_order']}" class="inputall input80" /></td>
		</tr>
		<tr>
			<td align="right">开启状态：</td>
			<td class="layui-form">
				<input type="checkbox" name="category_state" value="1" <!--{if($info['category_state']):}-->checked<!--{endif;}--> lay-skin="switch" lay-text="开启|关闭" />
			</td>
		</tr>
		</table>
	</div>
	<div class="now">
		<a href="javascript:;" class="sel">SEO设置<i></i></a>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20 mab20">
		<tr>
			<td align="right" width="200">页面标题：</td>
			<td><input type="text" name="info[category_title]" value="{$info['category_title']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">页面关键词：</td>
			<td><input type="text" name="info[category_keys]" value="{$info['category_keys']}" class="inputall input500" /></td>
		</tr>
		<tr>
			<td align="right">页面描述：</td>
			<td><textarea name="info[category_desc]" style="width:520px;height:100px;">{$info['category_desc']}</textarea></td>
		</tr>
		</table>
	</div>
	<div class="right_bottom center">
		<input type="hidden" name="pe_token" value="{$pe_token}" />
		<input type="hidden" name="pesubmit" value="{$pe_token}" />
		<input type="button" value="提 交" class="tjbtn">
	</div>
	</form>
</div>
<link rel="stylesheet" href="{$pe['host']}include/plugin/layui/css/layui.css">
<script src="{$pe['host']}include/plugin/layui/layui.js"></script>
<link rel="stylesheet" href="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/style.css">
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/plupload.min.js"></script>
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/upload.js"></script>
<script type="text/javascript">
layui.use(['form'], function(){
	form = layui.form;
});
$(function(){
	$("#album_box").pe_upload();
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('back', 1000);
		});
	})
})
</script>
<!--{include(pe_tpl('footer.html'));}-->